package org.qiyu.live.account.provider;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Program qiyu-live-user-provider
 * @Description
 * @Author zx
 * @Create 2024-07-01 10:53
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableDubbo
public class AccountProviderApplication {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(AccountProviderApplication.class);
        springApplication.setWebApplicationType(WebApplicationType.NONE);
        springApplication.run(args);
//        SpringApplication.run(AccountProviderApplication.class, args);
    }
}
